package String;

import ooday05.Season;

public class LengthDemo {
    public static void main(String[] args) {
        String str="我爱java!";
        int len=str.length();//获取str的长度
        System.out.println(len);//7
    }
}
